import { defineConfig } from 'umi';
import defaultSettings from './defaultSettings';
import routes from './routes';

export default defineConfig({
  nodeModulesTransform: {
    type: 'none',
  },
  routes,
  layout: {
    // https://procomponents.ant.design/components/layout#prolayout
    siderWidth: 208,
    locale: true,
    ...defaultSettings,
  },
  fastRefresh: {},
  publicPath: './',
  history: { type: 'hash' },
  dynamicImport: {},
  scripts: [],
});
